# _*_ coding:utf-8 _*_

import xlrd
# 读取Excel的数据
def getCaseData(caseName, sheetName):
    book = xlrd.open_workbook(caseName)
    sheet = book.sheet_by_name(sheetName)
    cls = []
    nrows = sheet.nrows
    for i in range(nrows):
        if sheet.row_values(i)[0] != u'name':
            cls.append(sheet.row_values(i))
    return cls





